/*
 * @Author: your name
 * @Date: 2021-06-05 13:32:31
 * @LastEditTime: 2021-06-05 14:31:58
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \HW5\inc\q5.hpp
 */

#if !defined(Q5_HPP)

#define Q5_HPP

#include "common.hpp"
#define InitSize 20
class Stack;
class Stack
{
private:
    int* data;
    int MAXSize=20 ;
    int num=0;
public:
    Stack( int size);
    Stack();
    ~Stack();
    void push_back(int i);
    int  pop();
};

void testQ5();

#endif // Q5_HPP
